import request from '@/utils/request.js'
// 获取用户信息
export const getCriminalInfo = (params) => {
  return request.get('api/HomeIndex/GetCriminalInfo', params)
}
// 获取裁片信息
export const getCuttingFabricInfo = (params) => {
  return request.post('ProductManager/CuttingClient/GetCuttingFabricInfo', params)
}
// 任务单-根据标识读取任务单信息
export const getTailoringTaskInfo = (params) => {
  return request.post('ProductManager/CuttingClient/GetTailoringTaskInfo', params)
}
// 任务单-所有完成或正在完成的床次列表
export const GetCuttingTaskBedList = (params) => {
  return request.post('ProductManager/CuttingClient/GetCuttingTaskBedList', params)
}
// 任务单-保存当前床次裁床上每个隔层的数量
export const SaveCuttingStepInfo = (params) => {
  return request.post('ProductManager/CuttingClient/SaveCuttingStepInfo', params)
}
// 任务单-根据任务单FlnkID读取裁床的隔层数
export const GetCuttingStepInfo = (params) => {
  return request.post('ProductManager/CuttingClient/GetCuttingStepInfo', params)
}
// 任务单-读取当前任务单和床次下裁床套裁信息
export const GetCuttingStepMatch = (params) => {
  return request.post('ProductManager/CuttingClient/GetCuttingStepMatch', params)
}
// 任务单-保存当前床次裁床套裁信息和各个部位入库列表（暂存）
export const SaveCuttingStepMatchInStock = (params) => {
  return request.post('ProductManager/CuttingClient/SaveCuttingStepMatchInStock', params)
}
// 任务单-读取当前任务单和床次下的入库信息（暂存）
export const GetCuttingStepInStock = (params) => {
  return request.post('ProductManager/CuttingClient/GetCuttingStepInStock', params)
}
// 任务单-裁剪房裁片入库
export const SaveShopCuttingInStock = (params) => {
  return request.post('ProductManager/CuttingClient/SaveShopCuttingInStock', params)
}
// 任务单-读取自裁片标签信息
export const GetShopCuttingInStockDesignByStock = (params) => {
  return request.post('ProductManager/CuttingClient/GetShopCuttingInStockDesignByStock', params)
}
// 任务单-根据床号读取余料标签信息（面料信息）
export const GetShopCuttingSurplusDesignByBedID = (params) => {
  return request.post('ProductManager/CuttingClient/GetShopCuttingSurplusDesignByBedID', params)
}
// 任务单-裁片车间生产退料
export const SaveCuttingFabricOutStock = (params) => {
  return request.post('ProductManager/CuttingClient/SaveCuttingFabricOutStock', params)
}
// 获取裁片bom数据
export const GetStyleBomCuttingListByStyleFlnkID = (params) => {
  return request.post('ProductManager/ProductStyle/GetStyleBomCuttingListByStyleFlnkID', params)
}
// 获取裁片明细信息
export const GetCuttingMaterielDetailByStyle = (params) => {
  return request.post('ProductManager/KCClient/GetCuttingMaterielDetailByStyle', params)
}
// 根据物料明细编号查询物料称重信息
export const GetMaterielsWeightByFilter = (params) => {
  return request.post('ProductManager/KCClient/GetMaterielsWeightByFilter', params)
}
// 获取箱包裁片明细信息
export const GetCuttingMaterielDetailByStyleXB = (params) => {
  return request.post('ProductManager/KCClient/GetCuttingMaterielDetailByStyleXB', params)
}
// 获取箱包裁片已入库信息
export const GetCuttingInStockByFilterXB = (params) => {
  return request.post('ProductManager/KCClient/GetCuttingInStockByFilterXB', params)
}
// 箱包裁剪完成入库
export const SaveTailoringTaskComplete = (params) => {
  return request.post('ProductManager/KCClient/SaveTailoringTaskComplete', params)
}

// 获取物料信息
export const GetMaterialRequisitionByHouseID = (params) => {
  return request.post('ProductManager/KCClient/GetMaterialRequisitionByHouseID', params)
}
